Print out the file name we're testing
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 1 Jun 2020 20:06:04 +0000 (21:06 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 1 Jun 2020 20:06:04 +0000 (21:06 +0100)
We're printing out the file we're testing once we succeed, but it's hard
to know which file caused a failure. Let's add a g_test_message()
directive so we can look in our logs.

testsuite/gtk/builderparser.c

index 4aba4db17aaaa6c95b63ee9f8d8e0b906ce6986b..0f11933509c90bfd5af2041f2182ca932bde1670 100644 (file)
@@ -84,6 +84,7 @@ test_parse (gconstpointer d)
   GError *error = NULL;
   GString *string;
 
+  g_test_message ("filename: %s", filename);
   expected_file = get_expected_filename (filename);
 
   string = g_string_sized_new (0);